export function getFlowUrl (id) {
  return '/bpm/redirect/' + id.replace(/:/g, '@')
}

export function getViewUrl (viewCode) {
  return '/view/redirect/' + viewCode
}

export function getFormUrl (formCode) {
  return '/eform/redirect/' + formCode
}

export function getWidgetUrl (widgetCode) {
  return '/report/redirect/' + widgetCode
}
export function getAppUrl (appCode) {
  return '/webapp/' + appCode
}